package cn.tedu.medicalpath.inspectionItem.service.Impl;

import cn.tedu.medicalpath.inspectionItem.mapper.InspectionItemMapper;
import cn.tedu.medicalpath.inspectionItem.pojo.dto.InspectionItemQuery;
import cn.tedu.medicalpath.inspectionItem.pojo.vo.InspectionItemVO;
import cn.tedu.medicalpath.inspectionItem.service.InspectionItemService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class InspectionItemServiceImpl implements InspectionItemService {
    @Autowired
    private InspectionItemMapper inspectionItemMapper;
    @Override
    public List<InspectionItemVO> select(InspectionItemQuery inspectionItemQuery) {
        log.debug("开始处理【查询检查项目】的业务，参数：{}",inspectionItemQuery);
        List<InspectionItemVO> list = inspectionItemMapper.select(inspectionItemQuery);
        log.debug("查询结果：{}",list);
        return list;
    }
}
